package com.jcp.entity;

/**
 * 员工实体类
 * @author 朱徐烽
 *
 */
public class Users {

	private int userId;
	private String userName;
	private String userPwd;
	private int deptId;//部门编号
	private int postId;//岗位编号

	private int cardId;//身份证
//gitee.com/daibusi/jcp.git
	private String userFace;//面部信息
	private String userEmail;//员工邮箱
	
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public int getDeptId() {
		return deptId;
	}
	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}
	public int getPostId() {
		return postId;
	}
	public void setPostId(int postId) {
		this.postId = postId;
	}



	public int getCardId() {

		return cardId;
	}



	public void setCardId(int cardId) {
		this.cardId = cardId;

	}
	public String getUserFace() {
		return userFace;
	}
	public void setUserFace(String userFace) {
		this.userFace = userFace;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
		
	
	@Override
	public String toString() {
		return "Users [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", deptId=" + deptId

				+ ", postId=" + postId + ", fileId=" + cardId + ", userFace=" + userFace + ", userEmail=" + userEmail

				+ ", postId=" + postId + ", cardId=" + cardId + ", userFace=" + userFace + ", userEmail=" + userEmail

				+ "]";
	}
	
	
	public Users(int userId, String userName, String userPwd, int deptId, int postId, int cardId, String userFace,
			String userEmail) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPwd = userPwd;
		this.deptId = deptId;
		this.postId = postId;



		this.cardId = cardId;

		this.userFace = userFace;
		this.userEmail = userEmail;
	}
	
	public Users() {
		// TODO Auto-generated constructor stub
	}
}
